package org.xg.study.pd;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author CMG
 * @version 1.0
 * @cLassName RebateInfo
 * @description
 * @date 2021/9/14 10:44
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RebateInfo {
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 业务ID
     */
    private String bizId;
    /**
     * 业务时间
     */
    private Date bizTime;
    /**
     * 业务描述
     */
    private String desc;

    public void setBizTime(String bizTime) {
        this.bizTime = new Date(Long.parseLong("1591077840669"));
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
